package com.example.entity;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * (SysUser)表实体类
 *
 * @author makejava
 * @since 2022-05-09 22:05:08
 */
@SuppressWarnings("serial")
public class SysUser extends Model<SysUser> {
    //用户密码
    private String password;
    //用户头像
    private String avatar;
    //用户邮箱
    private String email;
    //用户id
    private Long id;
    //用户名
    private String username;
    //城市
    private String city;
    //用户创建时间
    private Date createdTime;
    //用户修改时间
    private Date updatedTime;
    //用户上次登录时间
    private Date lastLoginTime;
    //用户状态 1可用|0不可用
    private Integer statu;


    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Integer getStatu() {
        return statu;
    }

    public void setStatu(Integer statu) {
        this.statu = statu;
    }

    }

